Fix label actor role evidence#14
Conversation
|
Addressed: the PR already includes packages/das/src/db-view-contracts.spec.ts, and 4e6a412 adds prebuild: npm test so the existing Build workflow runs that regression suite before nest build. Local npm run build, npm run lint, and npm run format:check pass. |
anderdc
left a comment
There was a problem hiding this comment.
This repo doesn't accept tests in contributor PRs. Drop packages/das/src/db-view-contracts.spec.ts and revert packages/das/package.json (remove the new test script and the prebuild: npm test line). The SQL view changes are fine — just strip the test additions.
done |
Summary
Fix label actor role attribution so stored maintainer review and comment evidence can resolve label actors.
Root cause:
contributor_repo_rolesonly used PR and issue authors, while the service already stores GitHub association evidence on submitted reviews and issue/PR thread comments. Label actor views depend oncontributor_repo_roles, so maintainers who reviewed or commented but did not author a PR/issue could appear withactor_association=null.Changed behavior:
Related Issues
Closes #13
Type of Change
Testing
npm testnpm run lintnpm run buildnpm run format:checkgit diff --checkChecklist